<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--method:get\post 不写默认是get-->
<!--修改action，要与UserController中方法一致-->
<form action="login" method="post">
    用户名:<input type="text" name="userName"/><br>

    密码:<input type="text" name="password"><br>

    <button>登录</button>
</form>
</body>
</html>